package com.netease.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netease.Dao.UserDao;
import com.netease.jichu.User;

@Service
public class UserDaoService {
	@Autowired
	private UserDao ud;
	
	public User getUserInfo(int id){
		return ud.getUserInfo(id);
	}
	public User login(String userName,String password){
		return ud.verifyUser(userName, password);
	}
//	public User getType(String userName,String password){
//		return ud.verifyUser(userName, password);
//	}
}
